home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 002 / emac.arc / EMACS.CMD < prev    next >
OS/2 REXX Batch file  |  1986-04-21  |  5KB  |  124 lines

  1.             MicroEMACS  COMMAND  SUMMARY
  2.  
  3.  
  4.                  Control Commands
  5.  
  6. ^@    Set region MARK at current position.
  7. ^A    Move cursor to BEGINNING of line.
  8. ^C    BIND a function to a key.
  9. ^B    Move cursor BACK one character.
  10. ^D    DELETE character above cursor.
  11. ^E    Move cursor to END of line.
  12. ^F    Move cursor FORWARD one character.
  13. ^G    ABORT any command requiring input.
  14. ^H    (Backspace) DELETE previous character.
  15. ^I    Insert TAB.
  16. ^J    Insert CR/LF, then indent.
  17. ^K    KILL (delete) from the current position to the end of the line.
  18. ^L    Redisplay screen.
  19. ^M    Insert CR/LF.
  20. ^N    Move cursor to NEXT line.
  21. ^O    OPEN a new line at current position.
  22. ^P    Move cursor to PREVIOUS line.
  23. ^Q    QUOTE the next character (insert the next literal character typed).
  24. ^R    Reverse SEARCH.
  25. ^S    Forward SEARCH.
  26. ^T    TRANSPOSE current character and next character.
  27. ^U    Enter UNIVERSAL REPEAT argument count for next command.
  28. ^V    VIEW the next screen (scroll DOWN one screen).
  29. ^W    KILL region (all text between cursor and last mark set).
  30. ^X    Control-X prefix (see table).
  31. ^Y    YANK text from KILL buffer.
  32. ^Z    SAVE ALL buffers and EXIT.
  33. ESC    META prefix (see table).
  34. BS    (Backspace) DELETE previous character.
  35. HOME    Goto BEGINNING of current buffer.
  36. END    Goto END of current buffer.
  37. Lt Ar    Move cursor BACK one character.
  38. Rt Ar    Move cursor FORWARD one character.
  39. Up Ar    Move cursor to PREVIOUS line.
  40. Dn Ar    Move cursor to NEXT line.
  41. Pg Up    VIEW previous screen (scroll UP one screen).
  42. Pg Dn    VIEW next screen (scroll DOWN one screen).
  43. INS    OPEN a new line at the current position.
  44. DEL    DELETE character above cursor.
  45. ^Lt Ar    Move cursor BACK one WORD.
  46. ^Rt Ar    Move cursor FORWARD one WORD.
  47. ^Pg Up    Move cursor to BEGINNING of paragraph.
  48. ^Pg Dn    Move cursor to END of paragraph.
  49.  
  50.  
  51.               META Commands (ESC is META prefix)
  52.  
  53. M-^C    Unbind a key from a function.
  54. M-^H    DELETE previous word.
  55. M-^L    Reposition current window with current line at its center.
  56. M-^N    Change the name of the current BUFFER.
  57. M-^R    Query REPLACE occurances of argument string.
  58. M-^V    Scroll next window DOWN one screen.
  59. M-^Z    Scroll next window UP one screen.
  60. M-' '    Set region MARK at current position.
  61. M-?    HELP.
  62. M-!    Reposition current window with current line at its center.
  63. M->    Move cursor to END of BUFFER.
  64. M-<    Move cursor to BEGINNING of BUFFER.
  65. M-B    Move cursor BACK one word.
  66. M-C    CAPITALIZE (Capitalize) next word.
  67. M-D    DELETE next word.
  68. M-F    Move cursor FORWARD one word.
  69. M-G    GOTO line number specified in current buffer.
  70. M-K    ERASE ALL text in current buffer. (Cannot be YANK'ed back!)
  71. M-L    LOWERCASE (lowercase) next word.
  72. M-N    Goto the END of the current paragraph.
  73. M-P    Goto the BEGINNING of thr current paragraph.
  74. M-Q    Fill current paragraph to FILL column.
  75. M-R    REPLACE occurances of argument string (NO QUERY)
  76. M-U    UPPERCASE (UPPERCASE) next word.
  77. M-V    VIEW the previous screen (scroll UP one screen).
  78. M-W    COPY region to KILL buffer.
  79. M-X    EXECUTE named command(s).
  80. M-Z    SAVE ALL buffers and EXIT.
  81. M-~    Mark current buffer UNMODIFIED.
  82. M-<BS>    DELETE previous word.
  83.  
  84.  
  85.                   Control-X Commands
  86.  
  87. ^X^^    ENLARGE current window by repeat count <^U> lines.
  88. ^X^B    Display list of active BUFFERS.
  89. ^X^C    EXIT without saving buffers.
  90. ^X^D    Display all commands and bindings in a buffer.
  91. ^X^F    FIND a file (read a file into a new buffer and open a window for it).
  92. ^X^I    INSERT a file into the current buffer at cursor position.
  93. ^X^L    Convert region to LOWERCASE.
  94. ^X^M    Delete MODE of the current window.
  95. ^X^N    SCROLL current window DOWN by repeat count <^U> lines.
  96. ^X^O    DELETE blank (empty) lines.
  97. ^X^P    SCROLL current window UP by repeat count <^U> lines.
  98. ^X^R    READ file into current buffer.
  99. ^X^S    SAVE (write) current buffer into its FILE name.
  100. ^X^U    Convert region to UPPERCASE.
  101. ^X^V    VIEW a file (same as FIND a file, but file is in read only mode).
  102. ^X^W    WRITE current buffer to a file.
  103. ^X^X    SWAP point and mark.
  104. ^X^Z    SHRINK current window by repeat count <^U> lines.
  105. ^X?    Describe a key's binding (Tell what it does).
  106. ^X!    Run MS-DOS command in subshell.
  107. ^X=    Display status of current window & buffer (position, size, etc.).
  108. ^X(    Begin keyboard Macro.
  109. ^X)    End keyboard Macro.
  110. ^X1    Display only the current window.
  111. ^X2    Split the current window.
  112. ^XB    Prompt for new BUFFER.
  113. ^XC    SPAWN an interactive command sub-shell.
  114. ^XE    EXECUTE keyboard Macro.
  115. ^XF    Set FILL column.
  116. ^XK    KILL a buffer.
  117. ^XM    Set MODE of the current window.
  118. ^XN    Change the FILENAME of the current buffer.
  119. ^XO    Move to NEXT window.
  120. ^XP    Move to PREVIOUS window.
  121. ^XS    SAVE (write) current buffer into its FILE name.
  122. ^XZ    ENLARGE current window by repeat count <^U> lines.
  123.  
  124.